package cn.iocoder.yudao.module.system.wechat_card.dto.giftcard;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class UpdatePageDetailDTO implements Serializable {

    @Schema(description = "要修改的货架id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "要修改的货架id不能为空")
    private String page_id;

    @Schema(description = "礼品卡货架主题页顶部banner图片，须先将图片上传至CDN，建议尺寸为750px*630px", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "礼品卡货架主题页顶部banner图片不能为空")
    private String banner_pic_url;

    @Schema(description = "主题结构体", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "主题结构体不能为空")
    private List<ThemeListDTO> theme_list;

    @Schema(description = "主题分类列表", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private List<CategoryListDTO> category_list;

    @Schema(description = "商家地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商家地址不能为空")
    private String address;

    @Schema(description = "商家服务电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商家服务电话不能为空")
    private String service_phone;

    @Schema(description = "商家使用说明，用于描述退款、发票等流程", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商家使用说明不能为空")
    private String biz_description;

    @Schema(description = "商家自定义链接1，用于承载退款、发票等流程", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商家自定义链接1不能为空")
    private GiftCardCellDTO cell_1;

    @Schema(description = "商家自定义链接2，用于承载退款、发票等流程", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "商家自定义链接2不能为空")
    private GiftCardCellDTO cell_2;

}
